import 'package:cbec_app/generated/json/base/json_field.dart';
import 'package:cbec_app/generated/json/havelist_info_entity.g.dart';
import 'dart:convert';

import 'package:cbec_app/pages/member/entity/vip_card_item_entity.dart';
export 'package:cbec_app/generated/json/havelist_info_entity.g.dart';

@JsonSerializable()
class HavelistInfoEntity {
  double? money;
  List<VipCardItemEntity>? card = [];

  HavelistInfoEntity();

  factory HavelistInfoEntity.fromJson(Map<String, dynamic> json) => $HavelistInfoEntityFromJson(json);

  Map<String, dynamic> toJson() => $HavelistInfoEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
